package com.ruoyi.iot.mapper;


import com.ruoyi.iot.domain.*;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CollectionDao {
    CollectPoint selectById(@Param("id") String id);
    int deleteCollection(String ID);

    int updateCollection(CollectPoint collectPoint);

    int batchDeleteCollection(String[] ids);

    List<CollectPoint> selectCondition(CollectPoint collectPoint);

    List<CollectPoint> getListGrouping(CollectPoint collectPoint);

    int deleteTask(String id);

    int batchDeleteTask(String[] ids);

    int updateTask(CollectTask collectTask);

    int updatetaskbyid(String taskid);

    int saveTask(CollectTask collectTask);

    List<CollectPoint> getListByTaskId(CollectTask collectTask);

    boolean disassociateData(CollectPoint collectPoint);

    List<CollectPoint> getListTime(CollectPoint collectPoint);

    List<CollectPoint> selectConditionAll();

    County dataMatching(String geom);

    List<CollectPoint> selectaaaaa();

    List<Province> selectGroupAll(CollectPoint collectPoint);

    List<City> selectGroupByName(Province coll);

    List<County> selectGroupByCounty(City coun);

    int saveCollection(CollectPoint collectPoint);
    int insertCollectPoints(List<CollectPoint> list);


}
